#!/usr/bin/env python
# -*- coding: utf-8 -*-
# --------------------------------------------------
#Author:    LJ
#Email:     admin@attacker.club

#Date:      18-3-11
#Description:
# --------------------------------------------------



class preson(object):
    def __init__(self, name, age):
    	#与普通函数区别在于第一个参数是自己，"self"
        self.name = name
        self.age = age
        #创建两个类属性

A= preson("LJ",28)
#实例化preson对象，传入对象中除self以外的2个参数
print(A.age,A.name)
